3.3.99 \(\int \frac {(a^2+2 a b x^2+b^2 x^4)^3}{x^{19}} \, dx\)

Optimal. Leaf size=62 \[ -\frac {b^2 \left (a+b x^2\right )^7}{504 a^3 x^{14}}+\frac {b \left (a+b x^2\right )^7}{72 a^2 x^{16}}-\frac {\left (a+b x^2\right )^7}{18 a x^{18}} \]

________________________________________________________________________________________

Rubi [A]  time = 0.04, antiderivative size = 62, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 4, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.167, Rules used = {28, 266, 45, 37} \begin {gather*} -\frac {b^2 \left (a+b x^2\right )^7}{504 a^3 x^{14}}+\frac {b \left (a+b x^2\right )^7}{72 a^2 x^{16}}-\frac {\left (a+b x^2\right )^7}{18 a x^{18}} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(a^2 + 2*a*b*x^2 + b^2*x^4)^3/x^19,x]

[Out]

-(a + b*x^2)^7/(18*a*x^18) + (b*(a + b*x^2)^7)/(72*a^2*x^16) - (b^2*(a + b*x^2)^7)/(504*a^3*x^14)

Rule 28

Int[(u_.)*((a_) + (c_.)*(x_)^(n2_.) + (b_.)*(x_)^(n_))^(p_.), x_Symbol] :> Dist[1/c^p, Int[u*(b/2 + c*x^n)^(2*
p), x], x] /; FreeQ[{a, b, c, n}, x] && EqQ[n2, 2*n] && EqQ[b^2 - 4*a*c, 0] && IntegerQ[p]

Rule 37

Int[((a_.) + (b_.)*(x_))^(m_.)*((c_.) + (d_.)*(x_))^(n_), x_Symbol] :> Simp[((a + b*x)^(m + 1)*(c + d*x)^(n +
1))/((b*c - a*d)*(m + 1)), x] /; FreeQ[{a, b, c, d, m, n}, x] && NeQ[b*c - a*d, 0] && EqQ[m + n + 2, 0] && NeQ
[m, -1]

Rule 45

Int[((a_.) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_), x_Symbol] :> Simp[((a + b*x)^(m + 1)*(c + d*x)^(n + 1
))/((b*c - a*d)*(m + 1)), x] - Dist[(d*Simplify[m + n + 2])/((b*c - a*d)*(m + 1)), Int[(a + b*x)^Simplify[m +
1]*(c + d*x)^n, x], x] /; FreeQ[{a, b, c, d, m, n}, x] && NeQ[b*c - a*d, 0] && ILtQ[Simplify[m + n + 2], 0] &&
 NeQ[m, -1] &&  !(LtQ[m, -1] && LtQ[n, -1] && (EqQ[a, 0] || (NeQ[c, 0] && LtQ[m - n, 0] && IntegerQ[n]))) && (
SumSimplerQ[m, 1] ||  !SumSimplerQ[n, 1])

Rule 266

Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Dist[1/n, Subst[Int[x^(Simplify[(m + 1)/n] - 1)*(a
+ b*x)^p, x], x, x^n], x] /; FreeQ[{a, b, m, n, p}, x] && IntegerQ[Simplify[(m + 1)/n]]

Rubi steps

\begin {align*} \int \frac {\left (a^2+2 a b x^2+b^2 x^4\right )^3}{x^{19}} \, dx &=\frac {\int \frac {\left (a b+b^2 x^2\right )^6}{x^{19}} \, dx}{b^6}\\ &=\frac {\operatorname {Subst}\left (\int \frac {\left (a b+b^2 x\right )^6}{x^{10}} \, dx,x,x^2\right )}{2 b^6}\\ &=-\frac {\left (a+b x^2\right )^7}{18 a x^{18}}-\frac {\operatorname {Subst}\left (\int \frac {\left (a b+b^2 x\right )^6}{x^9} \, dx,x,x^2\right )}{9 a b^5}\\ &=-\frac {\left (a+b x^2\right )^7}{18 a x^{18}}+\frac {b \left (a+b x^2\right )^7}{72 a^2 x^{16}}+\frac {\operatorname {Subst}\left (\int \frac {\left (a b+b^2 x\right )^6}{x^8} \, dx,x,x^2\right )}{72 a^2 b^4}\\ &=-\frac {\left (a+b x^2\right )^7}{18 a x^{18}}+\frac {b \left (a+b x^2\right )^7}{72 a^2 x^{16}}-\frac {b^2 \left (a+b x^2\right )^7}{504 a^3 x^{14}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.00, size = 82, normalized size = 1.32 \begin {gather*} -\frac {a^6}{18 x^{18}}-\frac {3 a^5 b}{8 x^{16}}-\frac {15 a^4 b^2}{14 x^{14}}-\frac {5 a^3 b^3}{3 x^{12}}-\frac {3 a^2 b^4}{2 x^{10}}-\frac {3 a b^5}{4 x^8}-\frac {b^6}{6 x^6} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(a^2 + 2*a*b*x^2 + b^2*x^4)^3/x^19,x]

[Out]

-1/18*a^6/x^18 - (3*a^5*b)/(8*x^16) - (15*a^4*b^2)/(14*x^14) - (5*a^3*b^3)/(3*x^12) - (3*a^2*b^4)/(2*x^10) - (
3*a*b^5)/(4*x^8) - b^6/(6*x^6)

________________________________________________________________________________________

IntegrateAlgebraic [F]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (a^2+2 a b x^2+b^2 x^4\right )^3}{x^{19}} \, dx \end {gather*}

Verification is not applicable to the result.

[In]

IntegrateAlgebraic[(a^2 + 2*a*b*x^2 + b^2*x^4)^3/x^19,x]

[Out]

IntegrateAlgebraic[(a^2 + 2*a*b*x^2 + b^2*x^4)^3/x^19, x]

________________________________________________________________________________________

fricas [A]  time = 0.64, size = 70, normalized size = 1.13 \begin {gather*} -\frac {84 \, b^{6} x^{12} + 378 \, a b^{5} x^{10} + 756 \, a^{2} b^{4} x^{8} + 840 \, a^{3} b^{3} x^{6} + 540 \, a^{4} b^{2} x^{4} + 189 \, a^{5} b x^{2} + 28 \, a^{6}}{504 \, x^{18}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b^2*x^4+2*a*b*x^2+a^2)^3/x^19,x, algorithm="fricas")

[Out]

-1/504*(84*b^6*x^12 + 378*a*b^5*x^10 + 756*a^2*b^4*x^8 + 840*a^3*b^3*x^6 + 540*a^4*b^2*x^4 + 189*a^5*b*x^2 + 2
8*a^6)/x^18

________________________________________________________________________________________

giac [A]  time = 0.17, size = 70, normalized size = 1.13 \begin {gather*} -\frac {84 \, b^{6} x^{12} + 378 \, a b^{5} x^{10} + 756 \, a^{2} b^{4} x^{8} + 840 \, a^{3} b^{3} x^{6} + 540 \, a^{4} b^{2} x^{4} + 189 \, a^{5} b x^{2} + 28 \, a^{6}}{504 \, x^{18}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b^2*x^4+2*a*b*x^2+a^2)^3/x^19,x, algorithm="giac")

[Out]

-1/504*(84*b^6*x^12 + 378*a*b^5*x^10 + 756*a^2*b^4*x^8 + 840*a^3*b^3*x^6 + 540*a^4*b^2*x^4 + 189*a^5*b*x^2 + 2
8*a^6)/x^18

________________________________________________________________________________________

maple [A]  time = 0.01, size = 69, normalized size = 1.11 \begin {gather*} -\frac {b^{6}}{6 x^{6}}-\frac {3 a \,b^{5}}{4 x^{8}}-\frac {3 a^{2} b^{4}}{2 x^{10}}-\frac {5 a^{3} b^{3}}{3 x^{12}}-\frac {15 a^{4} b^{2}}{14 x^{14}}-\frac {3 a^{5} b}{8 x^{16}}-\frac {a^{6}}{18 x^{18}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((b^2*x^4+2*a*b*x^2+a^2)^3/x^19,x)

[Out]

-3/2*a^2*b^4/x^10-1/6*b^6/x^6-15/14*a^4*b^2/x^14-3/4*a*b^5/x^8-3/8*a^5*b/x^16-1/18*a^6/x^18-5/3*a^3*b^3/x^12

________________________________________________________________________________________

maxima [A]  time = 1.34, size = 70, normalized size = 1.13 \begin {gather*} -\frac {84 \, b^{6} x^{12} + 378 \, a b^{5} x^{10} + 756 \, a^{2} b^{4} x^{8} + 840 \, a^{3} b^{3} x^{6} + 540 \, a^{4} b^{2} x^{4} + 189 \, a^{5} b x^{2} + 28 \, a^{6}}{504 \, x^{18}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b^2*x^4+2*a*b*x^2+a^2)^3/x^19,x, algorithm="maxima")

[Out]

-1/504*(84*b^6*x^12 + 378*a*b^5*x^10 + 756*a^2*b^4*x^8 + 840*a^3*b^3*x^6 + 540*a^4*b^2*x^4 + 189*a^5*b*x^2 + 2
8*a^6)/x^18

________________________________________________________________________________________

mupad [B]  time = 4.31, size = 70, normalized size = 1.13 \begin {gather*} -\frac {\frac {a^6}{18}+\frac {3\,a^5\,b\,x^2}{8}+\frac {15\,a^4\,b^2\,x^4}{14}+\frac {5\,a^3\,b^3\,x^6}{3}+\frac {3\,a^2\,b^4\,x^8}{2}+\frac {3\,a\,b^5\,x^{10}}{4}+\frac {b^6\,x^{12}}{6}}{x^{18}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a^2 + b^2*x^4 + 2*a*b*x^2)^3/x^19,x)

[Out]

-(a^6/18 + (b^6*x^12)/6 + (3*a^5*b*x^2)/8 + (3*a*b^5*x^10)/4 + (15*a^4*b^2*x^4)/14 + (5*a^3*b^3*x^6)/3 + (3*a^
2*b^4*x^8)/2)/x^18

________________________________________________________________________________________

sympy [A]  time = 0.74, size = 75, normalized size = 1.21 \begin {gather*} \frac {- 28 a^{6} - 189 a^{5} b x^{2} - 540 a^{4} b^{2} x^{4} - 840 a^{3} b^{3} x^{6} - 756 a^{2} b^{4} x^{8} - 378 a b^{5} x^{10} - 84 b^{6} x^{12}}{504 x^{18}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b**2*x**4+2*a*b*x**2+a**2)**3/x**19,x)

[Out]

(-28*a**6 - 189*a**5*b*x**2 - 540*a**4*b**2*x**4 - 840*a**3*b**3*x**6 - 756*a**2*b**4*x**8 - 378*a*b**5*x**10
- 84*b**6*x**12)/(504*x**18)

________________________________________________________________________________________